package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 任务调度中心任务子项反馈
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "任务调度中心任务子项反馈")
@Data
public class MissionCenterFeedBackDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(notes = "子项Id列表")
    @NotNull(message = "子项Id不能为空")
    private List<String> itemIdList;

    @ApiModelProperty(notes = "反馈信息")
    private String remark;

    @ApiModelProperty(notes = "反馈状态")
    @NotNull(message = "反馈状态不能为空")
    private Integer state;
}
